package zzs.generalframework.console.core.parameter.commonparameter.operatingpost.dao;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.operatingpost.OperatingPostInfo;
import zzs.generalframework.common.core.parameter.commonparameter.operatingpost.OperatingPostPO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.operatingpost.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IOperatingPostDao
{
	/**
	 * 创建工作岗位信息
	 * 
	 * @param operatingPostPO
	 * @return
	 */
	public boolean insert(OperatingPostPO operatingPostPO);

	/**
	 * 更新工作岗位信息
	 *
	 * @param operatingPostPO
	 * @return
	 */
	public boolean update(OperatingPostPO operatingPostPO);

	/**
	 * 查询工作岗位信息
	 *
	 * @param operatingPostInfo
	 * @return
	 */
	public List<OperatingPostPO> select(OperatingPostInfo operatingPostInfo);

	/**
	 * 删除工作岗位信息
	 *
	 * @param operatingPostPO
	 * @return
	 */
	public boolean delete(OperatingPostPO operatingPostPO);

	/**
	 * 统计工作岗位信息
	 * 
	 * @param operatingPostPO
	 * @return
	 */
	public Long count(OperatingPostPO operatingPostPO);

}
